package com.gugee.ins.common.model.mysql;

import com.xiguaji.boot.toolkit.IdGenerator;
import lombok.Data;

/**
 * base model
 * @author Huangxin
 */
@Data
public class DistributedBaseModel extends BaseModel{

    @Override
    public void generator(long currentTimeSecond) {
        super.generator(currentTimeSecond);
        this.setId(IdGenerator.getId());
    }
}
